adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / Encryption Class / EncryptString Method / EncryptString(String,Byte[]) Method

In This Topic
    EncryptString(String,Byte[]) Method
    In This Topic
    Encrypts a string.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function EncryptString( _
       ByVal source As String, _
       ByVal password() As Byte _
    ) As String
    public static string EncryptString( 
       string source,
       byte[] password
    )

    Parameters

    source
    password

    Return Value

    The encrypted value plus the salt value used in encryption.
    Remarks
    The return value has the format salt:encrypted_data where both the sale and encrypted_data are base-64 encoded.
    See Also